package com.xnyzc.lhy.order.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.order.entity.order.OaCOrderPersonal;
import com.xnyzc.lhy.order.entity.order.OaDOrder;
import com.xnyzc.lhy.order.entity.gps.OaDVehicleGps;
import com.xnyzc.lhy.order.entity.param.order.OrderParam;

/**
 * <p>
 * 自费叫车订单 服务类
 * </p>
 *
 * @author lhy@xnyzc.com
 * @since 2019-07-22
 */
public interface IOaCOrderPersonalService extends IService<OaCOrderPersonal> {

    boolean distributePersonOrder(OaCOrderPersonal oaCOrderPersonal, OrderParam oaDOrder, OaDVehicleGps nearCar);

    /**
     * 下单
     * @param oaCOrderPersonal 个人订单
     * @param oaDOrder 司机订单接参类
     * @return
     */
    String orderPerson(OaCOrderPersonal oaCOrderPersonal, OrderParam oaDOrder);
}
